Package com.cisco.pt.ipc.sim.impl
Class EasyVpnClientImpl
java.lang.Object
com.cisco.pt.ipc.impl.IPCObjectImpl
com.cisco.pt.ipc.sim.impl.ProcessImpl
com.cisco.pt.ipc.sim.impl.EasyVpnClientImpl
- All Implemented Interfaces:
IPCObject,EasyVpnClient,Process
Information provided by the PKI file:
\class EasyVpnClient
\brief EasyVpnClient is the process that handles the Easy VPN client.
\example network().getDevice("PC0").getProcess("EasyVpnClient")
- Author:
- Auto-generated
-
Field Summary
Fields inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
accessMessage, ipcFactory, packetTracerSession -
Constructor Summary
ConstructorsConstructorDescriptionEasyVpnClientImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage) -
Method Summary
Modifier and TypeMethodDescriptionvoidconnect()Information provided by the PKI file:voidInformation provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:Information provided by the PKI file:booleanInformation provided by the PKI file:voidsetGroupKey(String groupKey) Information provided by the PKI file:voidsetGroupName(String groupName) Information provided by the PKI file:voidsetPassword(String password) Information provided by the PKI file:voidsetServerIp(IPAddress serverIp) Information provided by the PKI file:voidsetTunnelIp(IPAddress tunnelIp) Information provided by the PKI file:voidsetTunnelMask(IPAddress tunnelMask) Information provided by the PKI file:voidsetUsername(String username) Information provided by the PKI file:Methods inherited from class com.cisco.pt.ipc.sim.impl.ProcessImpl
getOwnerDeviceMethods inherited from class com.cisco.pt.ipc.impl.IPCObjectImpl
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSession, sendMessage, sendMessageWithReturn, translateToCommandStatusStringPairMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.cisco.pt.ipc.IPCObject
getAccessMessage, getClassName, getFactory, getObjectUUID, getPacketTracerSessionMethods inherited from interface com.cisco.pt.ipc.sim.Process
getOwnerDevice
-
Constructor Details
-
EasyVpnClientImpl
public EasyVpnClientImpl(IPCFactory ipcFactory, PacketTracerSession packetTracerSession, IPCMessageLTV accessMessage)
-
-
Method Details
-
setServerIp
Information provided by the PKI file:
\brief Sets the server IP address for the Easy VPN client. \param serverIp, the server IP address for the Easy VPN client.- Specified by:
setServerIpin interfaceEasyVpnClient- Parameters:
serverIp- Takes in a parameter of serverIp
-
getServerIp
Information provided by the PKI file:
\brief Returns the server IP address for the Easy VPN client. \return ip, the server IP address for the Easy VPN client.- Specified by:
getServerIpin interfaceEasyVpnClient- Returns:
- IPAddress Returns a IPAddress
-
setUsername
Information provided by the PKI file:
\brief Sets the username for the Easy VPN client. \param username, the username for the Easy VPN client.- Specified by:
setUsernamein interfaceEasyVpnClient- Parameters:
username- Takes in a parameter of username
-
getUsername
Information provided by the PKI file:
\brief Returns the username for the Easy VPN client. \return string, the sername for the Easy VPN client.- Specified by:
getUsernamein interfaceEasyVpnClient- Returns:
- String Returns a String
-
setPassword
Information provided by the PKI file:
\brief Sets the password for the Easy VPN client. \param password, the password for the Easy VPN client.- Specified by:
setPasswordin interfaceEasyVpnClient- Parameters:
password- Takes in a parameter of password
-
getPassword
Information provided by the PKI file:
\brief Returns the password for the Easy VPN client. \return string, the password for the Easy VPN client.- Specified by:
getPasswordin interfaceEasyVpnClient- Returns:
- String Returns a String
-
setGroupName
Information provided by the PKI file:
\brief Sets the group name for the Easy VPN client. \param groupName, the group name for the Easy VPN client.- Specified by:
setGroupNamein interfaceEasyVpnClient- Parameters:
groupName- Takes in a parameter of groupName
-
getGroupName
Information provided by the PKI file:
\brief Returns the group name for the Easy VPN client. \return string, the group name for the Easy VPN client.- Specified by:
getGroupNamein interfaceEasyVpnClient- Returns:
- String Returns a String
-
setGroupKey
Information provided by the PKI file:
\brief Sets the group key for the Easy VPN client. \param groupKey, the group key for the Easy VPN client.- Specified by:
setGroupKeyin interfaceEasyVpnClient- Parameters:
groupKey- Takes in a parameter of groupKey
-
getGroupKey
Information provided by the PKI file:
\brief Returns the group key for the Easy VPN client. \return string, the group key for the Easy VPN client.- Specified by:
getGroupKeyin interfaceEasyVpnClient- Returns:
- String Returns a String
-
setTunnelIp
Information provided by the PKI file:
\brief Sets the tunnel IP address for the Easy VPN client. \param tunnelIp, the tunnel IP address for the Easy VPN client.- Specified by:
setTunnelIpin interfaceEasyVpnClient- Parameters:
tunnelIp- Takes in a parameter of tunnelIp
-
getTunnelIp
Information provided by the PKI file:
\brief Returns the tunnel IP address for the Easy VPN client. \return ip, the tunnel IP address for the Easy VPN client.- Specified by:
getTunnelIpin interfaceEasyVpnClient- Returns:
- IPAddress Returns a IPAddress
-
setTunnelMask
Information provided by the PKI file:
\brief Sets the tunnel mask for the Easy VPN client. \param tunnelIp, the tunnel mask for the Easy VPN client.- Specified by:
setTunnelMaskin interfaceEasyVpnClient- Parameters:
tunnelMask- Takes in a parameter of tunnelMask
-
getTunnelMask
Information provided by the PKI file:
\brief Returns the tunnel mask for the Easy VPN client. \return ip, the tunnel mask for the Easy VPN client.- Specified by:
getTunnelMaskin interfaceEasyVpnClient- Returns:
- IPAddress Returns a IPAddress
-
connect
public void connect()Information provided by the PKI file:
\brief Connects the Easy VPN client.- Specified by:
connectin interfaceEasyVpnClient
-
disconnect
public void disconnect()Information provided by the PKI file:
\brief Disconnects the Easy VPN client.- Specified by:
disconnectin interfaceEasyVpnClient
-
isConnected
public boolean isConnected()Information provided by the PKI file:
\brief Returns true if the Easy VPN client is connected, false otherwise. \return bool, true if the Easy VPN client is connected, false otherwise.- Specified by:
isConnectedin interfaceEasyVpnClient- Returns:
- boolean Returns a boolean
-